package com.sxfq.loansupermarket.backsystem.modular.theTest.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.CompletedTestInfo;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.TheTestInfo;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.UserForTestInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 已完成考试dao
 *
 * @author py
 * @date 2018年2月1日10:28:58
 */
public interface CompletedTestDao {
    List<CompletedTestInfo> getQueryPage(@Param("page") Page<CompletedTestInfo> page, Map<String, Object> params);
    List<UserForTestInfo> selectDetails(@Param("theTestId") String theTestId, @Param("userId")Integer userId);
}
